package edu.hitsz.effect;

import edu.hitsz.aircraft.HeroAircraft;
import edu.hitsz.observer.BombObserver;

public class EffectWithBullet extends  EffectStrategy {
    public EffectWithBullet() {}

    @Override
    public void takeEffect(HeroAircraft heroAircraft) {
       heroAircraft.getBulletProp();
    }

    @Override
    public void takeEffect(BombObserver bombObserver) {}

    @Override
    public void loseEffect(HeroAircraft heroAircraft) {
        heroAircraft.bulletPropExpire();
    }
}
